#pragma once


class CListProduct
{
public:
	CListProduct();
	~CListProduct();
	void setCode(const CString &sCode);
	CString getCode()const;
	void setName(const CString &sName);
	CString getName()const;
	void setStore(const CString &sStore);
	CString getStore()const;
	void setCodeProvider(const CString &sCode);
	CString getCodeProvider()const;
	void setGroup(const CString& sGroup);
	CString getGroup()const;
	void setCountMin(const int& nCountMin);
	int getCountMin()const;
	void setPriceInput(const CString& sPriceInput);
	CString getPriceInput()const;
	void setPriceSell(const CString& sPriceSell);
	CString getPriceSell()const;
	void setPriceWhole(const CString& sPricewhole);
	CString getPriceWhole()const;
	void setBonus(const CString& sBonus);
	CString getBonus()const;
	void setType(const int&nType);
	int getType()const;

	bool isPhone();
	CListProduct* clone();

private:
	CString m_sCode;
	CString m_sName;
	CString m_sStore;
	CString m_sCodeProvider;
	CString m_sGroup;
	int m_nCountMin;
	CString m_sPriceInput;
	CString m_sPriceSell;
	CString m_sPriceWhole;
	CString m_sBonus;
	int m_nType;	
};